<!DOCTYPE html>
<html lang='en'>
<head>
  <title>RSpec results</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Expires" content="-1" />
  <meta http-equiv="Pragma" content="no-cache" />
  <style type="text/css">
  body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-size: 80%;
  }
  </style>
  <script type="text/javascript">
    // <![CDATA[

function addClass(element_id, classname) {
  document.getElementById(element_id).className += (" " + classname);
}

function removeClass(element_id, classname) {
  var elem = document.getElementById(element_id);
  var classlist = elem.className.replace(classname,'');
  elem.className = classlist;
}

function moveProgressBar(percentDone) {
  document.getElementById("rspec-header").style.width = percentDone +"%";
}

function makeRed(element_id) {
  removeClass(element_id, 'passed');
  removeClass(element_id, 'not_implemented');
  addClass(element_id,'failed');
}

function makeYellow(element_id) {
  var elem = document.getElementById(element_id);
  if (elem.className.indexOf("failed") == -1) {  // class doesn't includes failed
    if (elem.className.indexOf("not_implemented") == -1) { // class doesn't include not_implemented
      removeClass(element_id, 'passed');
      addClass(element_id,'not_implemented');
    }
  }
}

function apply_filters() {
  var passed_filter = document.getElementById('passed_checkbox').checked;
  var failed_filter = document.getElementById('failed_checkbox').checked;
  var pending_filter = document.getElementById('pending_checkbox').checked;

  assign_display_style("example passed", passed_filter);
  assign_display_style("example failed", failed_filter);
  assign_display_style("example not_implemented", pending_filter);

  assign_display_style_for_group("example_group passed", passed_filter);
  assign_display_style_for_group("example_group not_implemented", pending_filter, pending_filter || passed_filter);
  assign_display_style_for_group("example_group failed", failed_filter, failed_filter || pending_filter || passed_filter);
}

function get_display_style(display_flag) {
  var style_mode = 'none';
  if (display_flag == true) {
    style_mode = 'block';
  }
  return style_mode;
}

function assign_display_style(classname, display_flag) {
  var style_mode = get_display_style(display_flag);
  var elems = document.getElementsByClassName(classname)
  for (var i=0; i<elems.length;i++) {
    elems[i].style.display = style_mode;
  }
}

function assign_display_style_for_group(classname, display_flag, subgroup_flag) {
  var display_style_mode = get_display_style(display_flag);
  var subgroup_style_mode = get_display_style(subgroup_flag);
  var elems = document.getElementsByClassName(classname)
  for (var i=0; i<elems.length;i++) {
    var style_mode = display_style_mode;
    if ((display_flag != subgroup_flag) && (elems[i].getElementsByTagName('dt')[0].innerHTML.indexOf(", ") != -1)) {
      elems[i].style.display = subgroup_style_mode;
    } else {
      elems[i].style.display = display_style_mode;
    }
  }
}

    // ]]>
  </script>
  <style type="text/css">
#rspec-header {
  background: #65C400; color: #fff; height: 4em;
}

.rspec-report h1 {
  margin: 0px 10px 0px 10px;
  padding: 10px;
  font-family: "Lucida Grande", Helvetica, sans-serif;
  font-size: 1.8em;
  position: absolute;
}

#label {
  float:left;
}

#display-filters {
  float:left;
  padding: 28px 0 0 40%;
  font-family: "Lucida Grande", Helvetica, sans-serif;
}

#summary {
  float:right;
  padding: 5px 10px;
  font-family: "Lucida Grande", Helvetica, sans-serif;
  text-align: right;
}

#summary p {
  margin: 0 0 0 2px;
}

#summary #totals {
  font-size: 1.2em;
}

.example_group {
  margin: 0 10px 5px;
  background: #fff;
}

dl {
  margin: 0; padding: 0 0 5px;
  font: normal 11px "Lucida Grande", Helvetica, sans-serif;
}

dt {
  padding: 3px;
  background: #65C400;
  color: #fff;
  font-weight: bold;
}

dd {
  margin: 5px 0 5px 5px;
  padding: 3px 3px 3px 18px;
}

dd .duration {
  padding-left: 5px;
  text-align: right;
  right: 0px;
  float:right;
}

dd.example.passed {
  border-left: 5px solid #65C400;
  border-bottom: 1px solid #65C400;
  background: #DBFFB4; color: #3D7700;
}

dd.example.not_implemented {
  border-left: 5px solid #FAF834;
  border-bottom: 1px solid #FAF834;
  background: #FCFB98; color: #131313;
}

dd.example.pending_fixed {
  border-left: 5px solid #0000C2;
  border-bottom: 1px solid #0000C2;
  color: #0000C2; background: #D3FBFF;
}

dd.example.failed {
  border-left: 5px solid #C20000;
  border-bottom: 1px solid #C20000;
  color: #C20000; background: #FFFBD3;
}


dt.not_implemented {
  color: #000000; background: #FAF834;
}

dt.pending_fixed {
  color: #FFFFFF; background: #C40D0D;
}

dt.failed {
  color: #FFFFFF; background: #C40D0D;
}


#rspec-header.not_implemented {
  color: #000000; background: #FAF834;
}

#rspec-header.pending_fixed {
  color: #FFFFFF; background: #C40D0D;
}

#rspec-header.failed {
  color: #FFFFFF; background: #C40D0D;
}


.backtrace {
  color: #000;
  font-size: 12px;
}

a {
  color: #BE5C00;
}

/* Ruby code, style similar to vibrant ink */
.ruby {
  font-size: 12px;
  font-family: monospace;
  color: white;
  background-color: black;
  padding: 0.1em 0 0.2em 0;
}

.ruby .keyword { color: #FF6600; }
.ruby .constant { color: #339999; }
.ruby .attribute { color: white; }
.ruby .global { color: white; }
.ruby .module { color: white; }
.ruby .class { color: white; }
.ruby .string { color: #66FF00; }
.ruby .ident { color: white; }
.ruby .method { color: #FFCC00; }
.ruby .number { color: white; }
.ruby .char { color: white; }
.ruby .comment { color: #9933CC; }
.ruby .symbol { color: white; }
.ruby .regex { color: #44B4CC; }
.ruby .punct { color: white; }
.ruby .escape { color: white; }
.ruby .interp { color: white; }
.ruby .expr { color: white; }

.ruby .offending { background-color: gray; }
.ruby .linenum {
  width: 75px;
  padding: 0.1em 1em 0.2em 0;
  color: #000000;
  background-color: #FFFBD3;
}

  </style>
</head>
<body>
<div class="rspec-report">

<div id="rspec-header">
  <div id="label">
    <h1>RSpec Code Examples</h1>
  </div>

  <div id="display-filters">
    <input id="passed_checkbox"  name="passed_checkbox"  type="checkbox" checked="checked" onchange="apply_filters()" value="1" /> <label for="passed_checkbox">Passed</label>
    <input id="failed_checkbox"  name="failed_checkbox"  type="checkbox" checked="checked" onchange="apply_filters()" value="2" /> <label for="failed_checkbox">Failed</label>
    <input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="3" /> <label for="pending_checkbox">Pending</label>
  </div>

  <div id="summary">
    <p id="totals">&#160;</p>
    <p id="duration">&#160;</p>
  </div>
</div>


<div class="results">
<div id="div_group_1" class="example_group passed">
  <dl style="margin-left: 0px;">
  <dt id="example_group_1" class="passed">Notification: Register consumer - Check Query</dt>
    <script type="text/javascript">moveProgressBar('1.2');</script>
    <dd class="example passed"><span class="passed_spec_name">Query just registered consumer without parameter collection</span><span class='duration'>0.81008s</span></dd>
    <script type="text/javascript">moveProgressBar('2.5');</script>
    <dd class="example passed"><span class="passed_spec_name">Query just registered consumer without parameter selector</span><span class='duration'>2.70927s</span></dd>
    <script type="text/javascript">makeRed('rspec-header');</script>
    <script type="text/javascript">makeRed('div_group_1');</script>
    <script type="text/javascript">makeRed('example_group_1');</script>
    <script type="text/javascript">moveProgressBar('3.8');</script>
    <dd class="example failed">
      <span class="failed_spec_name">Query just registered consumer with parameter collection only</span>
      <span class="duration">0.61906s</span>
      <div class="failure" id="failure_1">
        <div class="message"><pre>expected: nil
     got: &quot;com.avid.notification.consumer_5HQum7gz8I&quot; (using ==)</pre></div>
        <div class="backtrace"><pre>./spec/api/notification/query_consumer_negative_spec.rb:49:in `block (2 levels) in &lt;top (required)&gt;&#39;</pre></div>
    <pre class="ruby"><code><span class="linenum">47</span>    query_request = query_template.new({:data => {:collection => 'consumers'}})
<span class="linenum">48</span>    response = api.query(query_request.hash)
<span class="offending"><span class="linenum">49</span>    consumer_request.type.should == api.search_service_by_id(response, consumer_id, 'type')</span>
<span class="linenum">50</span>    consumer_request.realm.should == api.search_service_by_id(response, consumer_id, 'realm')
<span class="linenum">51</span>    consumer_request.version.should == api.search_service_by_id(response, consumer_id, 'version')
<span class="linenum">52</span><span class="comment"># gem install syntax to get syntax highlighting</span></code></pre>
      </div>
    </dd>
    <script type="text/javascript">moveProgressBar('5.1');</script>
    <dd class="example passed"><span class="passed_spec_name">Query just registered consumer with empty paramSet</span><span class='duration'>3.85539s</span></dd>
  </dl>
</div>
<div id="div_group_2" class="example_group passed">
  <dl style="margin-left: 0px;">
  <dt id="example_group_2" class="passed">Notification: Register service - Check Query</dt>
    <script type="text/javascript">moveProgressBar('6.4');</script>
    <dd class="example passed"><span class="passed_spec_name">Query just registered service without parameter collection</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('7.6');</script>
    <dd class="example passed"><span class="passed_spec_name">Query just registered service without parameter selector</span><span class='duration'>0.81408s</span></dd>
    <script type="text/javascript">makeRed('div_group_2');</script>
    <script type="text/javascript">makeRed('example_group_2');</script>
    <script type="text/javascript">moveProgressBar('8.9');</script>
    <dd class="example failed">
      <span class="failed_spec_name">Query just registered service with parameter collection only</span>
      <span class="duration">0.63106s</span>
      <div class="failure" id="failure_2">
        <div class="message"><pre>expected: nil
     got: &quot;com.avid.example_OehPpDtBff&quot; (using ==)</pre></div>
        <div class="backtrace"><pre>./spec/api/notification/query_service_negative_spec.rb:48:in `block (2 levels) in &lt;top (required)&gt;&#39;</pre></div>
    <pre class="ruby"><code><span class="linenum">46</span>    query_request = query_template.new({:data=> {:collection => 'services'}})
<span class="linenum">47</span>    response = api.query(query_request.hash)
<span class="offending"><span class="linenum">48</span>    service_request.type.should == api.search_service_by_id(response,service_id, 'type')</span>
<span class="linenum">49</span>    service_request.realm.should == api.search_service_by_id(response,service_id, 'realm')
<span class="linenum">50</span>    service_request.version.should == api.search_service_by_id(response,service_id, 'version')
<span class="linenum">51</span><span class="comment"># gem install syntax to get syntax highlighting</span></code></pre>
      </div>
    </dd>
    <script type="text/javascript">moveProgressBar('10.2');</script>
    <dd class="example passed"><span class="passed_spec_name">Query just registered service with empty paramSet</span><span class='duration'>0.81308s</span></dd>
  </dl>
</div>
<div id="div_group_3" class="example_group passed">
  <dl style="margin-left: 0px;">
  <dt id="example_group_3" class="passed">Notification: Register service with different realm</dt>
    <script type="text/javascript">moveProgressBar('11.5');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service with &#39;realm 1&#39;</span><span class='duration'>0.81608s</span></dd>
    <script type="text/javascript">moveProgressBar('12.8');</script>
    <dd class="example passed"><span class="passed_spec_name">Verify service with &#39;realm 2&#39; is registered as different service</span><span class='duration'>0.81408s</span></dd>
    <script type="text/javascript">moveProgressBar('14.1');</script>
    <dd class="example passed"><span class="passed_spec_name">Using Query verify that both services registered </span><span class='duration'>0.81608s</span></dd>
    <script type="text/javascript">moveProgressBar('15.3');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister first service using service ID</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('16.6');</script>
    <dd class="example passed"><span class="passed_spec_name">Using Query verify that first realm of a service is not registered</span><span class='duration'>0.81308s</span></dd>
    <script type="text/javascript">moveProgressBar('17.9');</script>
    <dd class="example passed"><span class="passed_spec_name">Using Query verify that second realm of a service is registered</span><span class='duration'>0.00000s</span></dd>
    <script type="text/javascript">moveProgressBar('19.2');</script>
    <dd class="example passed"><span class="passed_spec_name">Verify second service is still registered by registering it second time</span><span class='duration'>0.82308s</span></dd>
    <script type="text/javascript">moveProgressBar('20.5');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister second realm of service using service ID</span><span class='duration'>0.81508s</span></dd>
    <script type="text/javascript">moveProgressBar('21.7');</script>
    <dd class="example passed"><span class="passed_spec_name">Using Query verify that first realm of a service is not registered</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('23.0');</script>
    <dd class="example passed"><span class="passed_spec_name">Using Query verify that second realm of a service is not registered</span><span class='duration'>0.00000s</span></dd>
  </dl>
</div>
<div id="div_group_4" class="example_group passed">
  <dl style="margin-left: 0px;">
  <dt id="example_group_4" class="passed">Notification: Register service with different versions</dt>
    <script type="text/javascript">moveProgressBar('24.3');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service with &#39;version 1&#39;</span><span class='duration'>0.82308s</span></dd>
    <script type="text/javascript">moveProgressBar('25.6');</script>
    <dd class="example passed"><span class="passed_spec_name">Verify service with &#39;version 2&#39; is registered as different service</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('26.9');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister first service using service ID</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('28.2');</script>
    <dd class="example passed"><span class="passed_spec_name">Using Query verify that first version of a service is not registered</span><span class='duration'>0.81308s</span></dd>
    <script type="text/javascript">moveProgressBar('29.4');</script>
    <dd class="example passed"><span class="passed_spec_name">Using Query verify that second version of a service is registered</span><span class='duration'>0.00000s</span></dd>
    <script type="text/javascript">moveProgressBar('30.7');</script>
    <dd class="example passed"><span class="passed_spec_name">Verify second service is still registered by registering it second time</span><span class='duration'>0.81308s</span></dd>
    <script type="text/javascript">moveProgressBar('32.0');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister second version of service using service ID</span><span class='duration'>0.81308s</span></dd>
    <script type="text/javascript">moveProgressBar('33.3');</script>
    <dd class="example passed"><span class="passed_spec_name">Using Query verify that first version of a service is not registered</span><span class='duration'>0.80108s</span></dd>
    <script type="text/javascript">moveProgressBar('34.6');</script>
    <dd class="example passed"><span class="passed_spec_name">Using Query verify that second version of a service is not registered</span><span class='duration'>0.00000s</span></dd>
  </dl>
</div>
<div id="div_group_5" class="example_group passed">
  <dl style="margin-left: 0px;">
  <dt id="example_group_5" class="passed">Notification: Register/Unregister consumer negative tests</dt>
    <script type="text/javascript">moveProgressBar('35.8');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer without uid</span><span class='duration'>0.85909s</span></dd>
    <script type="text/javascript">moveProgressBar('37.1');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer uid is empty</span><span class='duration'>0.85409s</span></dd>
    <script type="text/javascript">moveProgressBar('38.4');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer without id</span><span class='duration'>0.84908s</span></dd>
    <script type="text/javascript">moveProgressBar('39.7');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer if Id is empty</span><span class='duration'>0.84608s</span></dd>
    <script type="text/javascript">moveProgressBar('41.0');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer without type</span><span class='duration'>0.85909s</span></dd>
    <script type="text/javascript">moveProgressBar('42.3');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer if type is empty</span><span class='duration'>0.87109s</span></dd>
    <script type="text/javascript">moveProgressBar('43.5');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer without realm</span><span class='duration'>0.84608s</span></dd>
    <script type="text/javascript">moveProgressBar('44.8');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer if realm is empty</span><span class='duration'>0.83508s</span></dd>
    <script type="text/javascript">moveProgressBar('46.1');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer without version</span><span class='duration'>0.86009s</span></dd>
    <script type="text/javascript">moveProgressBar('47.4');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new consumer if version is empty</span><span class='duration'>0.85809s</span></dd>
    <script type="text/javascript">moveProgressBar('48.7');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service without scope</span><span class='duration'>0.89209s</span></dd>
    <script type="text/javascript">moveProgressBar('50.0');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service if scope is nil</span><span class='duration'>0.87209s</span></dd>
    <script type="text/javascript">moveProgressBar('51.2');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister consumer if consumer_id is absent</span><span class='duration'>0.81308s</span></dd>
    <script type="text/javascript">moveProgressBar('52.5');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister consumer if consumer_id is unknown</span><span class='duration'>0.83008s</span></dd>
  </dl>
</div>
<div id="div_group_6" class="example_group passed">
  <dl style="margin-left: 0px;">
  <dt id="example_group_6" class="passed">Notification: Register/Unregister consumer</dt>
    <script type="text/javascript">moveProgressBar('53.8');</script>
    <dd class="example passed"><span class="passed_spec_name">Register new consumer</span><span class='duration'>0.80508s</span></dd>
    <script type="text/javascript">moveProgressBar('55.1');</script>
    <dd class="example passed"><span class="passed_spec_name">Query just registered consumer and verify all data is valid</span><span class='duration'>0.81108s</span></dd>
    <script type="text/javascript">moveProgressBar('56.4');</script>
    <dd class="example passed"><span class="passed_spec_name">Update consumer realm</span><span class='duration'>0.82808s</span></dd>
    <script type="text/javascript">moveProgressBar('57.6');</script>
    <dd class="example passed"><span class="passed_spec_name">Change uid in consumer</span><span class='duration'>0.86009s</span></dd>
    <script type="text/javascript">moveProgressBar('58.9');</script>
    <dd class="example passed"><span class="passed_spec_name">Update consumer version</span><span class='duration'>0.81508s</span></dd>
    <script type="text/javascript">moveProgressBar('60.2');</script>
    <dd class="example passed"><span class="passed_spec_name">Update consumer type</span><span class='duration'>0.81108s</span></dd>
    <script type="text/javascript">moveProgressBar('61.5');</script>
    <dd class="example passed"><span class="passed_spec_name">Update consumer scope</span><span class='duration'>0.82208s</span></dd>
    <script type="text/javascript">makeRed('div_group_6');</script>
    <script type="text/javascript">makeRed('example_group_6');</script>
    <script type="text/javascript">moveProgressBar('62.8');</script>
    <dd class="example failed">
      <span class="failed_spec_name">Update consumer id</span>
      <span class="duration">0.83008s</span>
      <div class="failure" id="failure_3">
        <div class="message"><pre>expected: &quot;created&quot;
     got: &quot;exists&quot; (using ==)</pre></div>
        <div class="backtrace"><pre>./spec/api/notification/register_unregister_consumer_spec.rb:82:in `block (2 levels) in &lt;top (required)&gt;&#39;</pre></div>
    <pre class="ruby"><code><span class="linenum">80</span>    response = api.register_consumer(consumer_request.hash)
<span class="linenum">81</span>    consumer_expect_resp_id.should == api.get_field_from_body('consumer', response, 'id')
<span class="offending"><span class="linenum">82</span>    api.get_service_status(response).should == REGISTERED_MESSAGE</span>
<span class="linenum">83</span>    api.check_returned_body_fields('consumer', response, consumer_request.data).should == true
<span class="linenum">84</span>  end
<span class="linenum">85</span><span class="comment"># gem install syntax to get syntax highlighting</span></code></pre>
      </div>
    </dd>
    <script type="text/javascript">moveProgressBar('64.1');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister consumer using consumer_id</span><span class='duration'>0.81308s</span></dd>
  </dl>
</div>
<div id="div_group_7" class="example_group passed">
  <dl style="margin-left: 0px;">
  <dt id="example_group_7" class="passed">Notification: Register/Unregister service negative tests</dt>
    <script type="text/javascript">moveProgressBar('65.3');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service without type</span><span class='duration'>0.76008s</span></dd>
    <script type="text/javascript">moveProgressBar('66.6');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service with empty type</span><span class='duration'>0.84608s</span></dd>
    <script type="text/javascript">moveProgressBar('67.9');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service without realm</span><span class='duration'>0.81308s</span></dd>
    <script type="text/javascript">moveProgressBar('69.2');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service with empty realm</span><span class='duration'>0.81608s</span></dd>
    <script type="text/javascript">moveProgressBar('70.5');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service without version</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('71.7');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service with empty version</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('73.0');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service without description</span><span class='duration'>0.81408s</span></dd>
    <script type="text/javascript">moveProgressBar('74.3');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service without topics</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">makeRed('div_group_7');</script>
    <script type="text/javascript">makeRed('example_group_7');</script>
    <script type="text/javascript">moveProgressBar('75.6');</script>
    <dd class="example failed">
      <span class="failed_spec_name">Unregister service without id</span>
      <span class="duration">0.81608s</span>
      <div class="failure" id="failure_4">
        <div class="message"><pre>expected: &quot;MISSING_ARGUMENT&quot;
     got: &quot;BAD_REQUEST&quot; (using ==)</pre></div>
        <div class="backtrace"><pre>./spec/api/notification/register_unregister_service_negative_spec.rb:137:in `block (2 levels) in &lt;top (required)&gt;&#39;</pre></div>
    <pre class="ruby"><code><span class="linenum">135</span>    service_unregister_request = service_unregister_template.new({:data=>{}})
<span class="linenum">136</span>    response = api.unregister_service(service_unregister_request.hash)
<span class="offending"><span class="linenum">137</span>    api.get_error_code(response).should == ERROR_CODE_MISSING_ARGUMENT</span>
<span class="linenum">138</span>    api.get_error_details(response).should == ERROR_MESSAGE_REQUEST_MISSING_REQUIRED_PARAMS
<span class="linenum">139</span>  end
<span class="linenum">140</span><span class="comment"># gem install syntax to get syntax highlighting</span></code></pre>
      </div>
    </dd>
    <script type="text/javascript">moveProgressBar('76.9');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service with unknown id</span><span class='duration'>0.83008s</span></dd>
    <script type="text/javascript">moveProgressBar('78.2');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info without type</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('79.4');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info with  empty type</span><span class='duration'>0.81408s</span></dd>
    <script type="text/javascript">moveProgressBar('80.7');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info without realm</span><span class='duration'>0.81308s</span></dd>
    <script type="text/javascript">moveProgressBar('82.0');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info with empty realm</span><span class='duration'>3.81238s</span></dd>
    <script type="text/javascript">moveProgressBar('83.3');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info without version</span><span class='duration'>0.81108s</span></dd>
    <script type="text/javascript">moveProgressBar('84.6');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info with empty version</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('85.8');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info without required params</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('87.1');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info with unknown service type</span><span class='duration'>0.84008s</span></dd>
    <script type="text/javascript">moveProgressBar('88.4');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info with unknown realm</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('89.7');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service by info with unknown version</span><span class='duration'>0.81408s</span></dd>
    <script type="text/javascript">moveProgressBar('91.0');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service</span><span class='duration'>0.81208s</span></dd>
  </dl>
</div>
<div id="div_group_8" class="example_group passed">
  <dl style="margin-left: 0px;">
  <dt id="example_group_8" class="passed">Notification: Register service - Unregister using service info</dt>
    <script type="text/javascript">moveProgressBar('92.3');</script>
    <dd class="example passed"><span class="passed_spec_name">Registered new service to new topics</span><span class='duration'>0.82508s</span></dd>
    <script type="text/javascript">moveProgressBar('93.5');</script>
    <dd class="example passed"><span class="passed_spec_name">Query just registered service and verify all data is valid</span><span class='duration'>0.81308s</span></dd>
    <script type="text/javascript">moveProgressBar('94.8');</script>
    <dd class="example passed"><span class="passed_spec_name">Update service with another topics</span><span class='duration'>0.81208s</span></dd>
    <script type="text/javascript">moveProgressBar('96.1');</script>
    <dd class="example passed"><span class="passed_spec_name">Update service with removed topics</span><span class='duration'>0.81108s</span></dd>
    <script type="text/javascript">moveProgressBar('97.4');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service using service ID</span><span class='duration'>0.82108s</span></dd>
    <script type="text/javascript">moveProgressBar('98.7');</script>
    <dd class="example passed"><span class="passed_spec_name">Verify the same service can be registered one more time</span><span class='duration'>0.81408s</span></dd>
    <script type="text/javascript">moveProgressBar('100.0');</script>
    <dd class="example passed"><span class="passed_spec_name">Unregister service using service info</span><span class='duration'>0.81108s</span></dd>
  </dl>
</div>
<script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>73.04931 seconds</strong>";</script>
<script type="text/javascript">document.getElementById('totals').innerHTML = "78 examples, 4 failures";</script>
</div>
</div>
</body>
</html>
